import request from "@/utils/request";

//设备树
export function getDeviceTree() {
  return request({
    // url: "/device/getDeviceTree",
    url: "/device/getDeviceLeftTree",
    method: "get",
  });
}

//设备类型树
export function getDeviceTypeTree() {
  return request({
    url: "/deviceTypeMeta/deviceTypeMeta/findDeviceTypeTree",
    method: "get",
  });
}
export function getDevicePointTree(data) {
  return request({
    url: "/device/getDevicePointTree",
    method: "get",
    params: data
  });
}
// 设备类型
export function getDeviceType(){
  return request({
    url: '/deviceTypeMeta/deviceTypeMeta/list',
    method: 'get',
  })
}
